package com.hnkywl.sts.entity.sys;

import com.hnkywl.sts.entity.BaseEntity;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 * 菜单
 * Created with IntelliJ IDEA.
 * User: jerry
 * Date: 13-3-3
 * Time: 下午10:22
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "T_SYS_BMB")
public class Bm {
    @Id
    @SequenceGenerator(name = "seqBm", allocationSize = 1, sequenceName = "SEQ_SYS_BMB")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqBm")
    private Long id;

    /**
     * 名称
    */
    private Integer bmlxid;

    /**
     * 编码值
     */
    private String bmz;

    /**
     * 预留值1 保供物资编码codeId
     */
    private String bmylz1;

    /**
     * 预留值2 保供物资编码code
     */
    private String bmylz2;

    /**
     * 预留值3
     */
    private String bmylz3;

    /**
     * 预留值4
     */
    private String bmylz4;

    /**
     * 预留值5
     */
    private String bmylz5;

    /**
     * 归属机构
     */
    private Integer gsjg;

    /**
     * 归属人
     */
    private Integer gsr;

    /**
     * 生成时间
     */
    private Date SCSJ;


    /**
     * 使用时间
     */
    private Date SYSJ;


    /**
     * 注销时间
     */
    private Date ZXSJ;

    /**
     * 废除时间
     */
    private Date FCSJ;

    /**
     * 状态
     */
    private String zt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getBmlxid() {
        return bmlxid;
    }

    public void setBmlxid(Integer bmlxid) {
        this.bmlxid = bmlxid;
    }

    public String getBmz() {
        return bmz;
    }

    public void setBmz(String bmz) {
        this.bmz = bmz;
    }

    public String getBmylz1() {
        return bmylz1;
    }

    public void setBmylz1(String bmylz1) {
        this.bmylz1 = bmylz1;
    }

    public String getBmylz2() {
        return bmylz2;
    }

    public void setBmylz2(String bmylz2) {
        this.bmylz2 = bmylz2;
    }

    public String getBmylz3() {
        return bmylz3;
    }

    public void setBmylz3(String bmylz3) {
        this.bmylz3 = bmylz3;
    }

    public String getBmylz4() {
        return bmylz4;
    }

    public void setBmylz4(String bmylz4) {
        this.bmylz4 = bmylz4;
    }

    public String getBmylz5() {
        return bmylz5;
    }

    public void setBmylz5(String bmylz5) {
        this.bmylz5 = bmylz5;
    }

    public Integer getGsjg() {
        return gsjg;
    }

    public void setGsjg(Integer gsjg) {
        this.gsjg = gsjg;
    }

    public Integer getGsr() {
        return gsr;
    }

    public void setGsr(Integer gsr) {
        this.gsr = gsr;
    }

    public Date getSCSJ() {
        return SCSJ;
    }

    public void setSCSJ(Date SCSJ) {
        this.SCSJ = SCSJ;
    }

    public Date getSYSJ() {
        return SYSJ;
    }

    public void setSYSJ(Date SYSJ) {
        this.SYSJ = SYSJ;
    }

    public Date getZXSJ() {
        return ZXSJ;
    }

    public void setZXSJ(Date ZXSJ) {
        this.ZXSJ = ZXSJ;
    }

    public Date getFCSJ() {
        return FCSJ;
    }

    public void setFCSJ(Date FCSJ) {
        this.FCSJ = FCSJ;
    }

    public String getZt() {
        return zt;
    }

    public void setZt(String zt) {
        this.zt = zt;
    }

}
